package com.salton123.soulove.sailfish.entity

import com.salton123.soulove.sailfish.db.VideoItem

/**
 * User: newSalton@outlook.com
 * Date: 2019/9/25 13:55
 * ModifyTime: 13:55
 * Description:
 */
const val MULTI_TYPE_BANNER = 1
const val MULTI_TYPE_ALBUM = 2
const val MULTI_TYPE_LATEST = 3
const val MULTI_TYPE_LINKAGE = 4
const val MULTI_TYPE_RECYCLER_MENU = 5
const val MULTI_TYPE_RECYCLER_CONTENT = 6

const val VIEW_TYPE_LEFT = 1

interface IMultiType {
    fun getType(): Int
}

class AlbumMultiTypeEntity(var videoItem: VideoItem, var viewType: Int = VIEW_TYPE_LEFT) : IMultiType {
    override fun getType(): Int = MULTI_TYPE_ALBUM
}

